<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<html>
<head>
<title>物流配送管理系统</title>
<link rel="stylesheet" type="text/css"
	href="${pageContext.request.contextPath}/css/readerTyper.css" />
	<script type="text/javascript" src="../../js/goods.js"></script>
</head>
<body style="font-size: 20px">
	<%@ include file="navigation.jsp"%>
	<div id="content">
		<p valign="top" id="p">当前位置：商品管理> 商品信息管理 >> 修改添加商品信息>>> </p>
		<div>
			<p id="p1"></p>
			<form method="post"
				action="${pageContext.request.contextPath}/goods/updGoodsInfo" 
				onsubmit="return checkgoodsform()">
				<table border="1" cellpadding="0" cellspacing="0">
					<tr>
						<td class="t1">商品ID：</td>
						<td><input name="goodsId" type="text" id="goodsId"
							value="${goods.goodsId}" readonly="yes" class="c1" required="required"></td>
					</tr>
					<tr>
						<td class="t1">商品名称：</td>
						<td><input name="goodsName" type="text"
							value="${goods.goodsName}" class="c1" required="required"></td>
					</tr>
					<tr>
						<td class="t1">商品类型：</td>
						<td><select name="typeName" class="c1" id="typeName">
								<option value="${goods.typeName}">${goods.typeName}</option>
								<c:forEach items="${goodsType}" var="t">
									<option value="${t.goodsType}">${t.goodsType}</option>
								</c:forEach>
						</select></td>
					</tr>
					<tr>
						<td class="t1">商品重量：</td>
						<td><input name="goodsWeight" type="text"
							value="${goods.goodsWeight}" class="c1" required="required"></td>
					</tr>
					<tr>
						<td class="t1">操作：</td>
						<td><input name="Submit" type="submit" value="保存" class="c1">
							&nbsp; <input name="Submit2" type="button" value="返回"
							onClick="history.back()" class="c1"></td>
					</tr>
				</table>
			</form>
		</div>
</body>
</html>